/***********************************************************************
** Copyright (C) 2011 Anthony Naddeo <anthony.naddeo@gmail.com>
**
** This file is part of scenic
**
** scenic is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 3 of the License, or
** (at your option) any later version.
**
** scenic is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this package; If not, see <http://www.gnu.org/licenses/>.
**
***********************************************************************/

import QtQuick 1.1
import com.meego 1.0

Sheet {
	acceptButtonText: "Done"
	content: Flickable{
		anchors.fill: parent
		contentHeight: label.height+50
		flickableDirection: Flickable.VerticalFlick
		Label{
			id: label
			anchors{
				top: parent.top
				left: parent.left
				right: parent.right
			}
			anchors.margins: 20
			wrapMode: Text.Wrap
			text: "
			<h1>Scenic</h1>
			<p>Scenic allows you to automatically change your N9 wallpaper
			based on a wallpaper.conf file or randomly from images in a folder.
			This page will explain how to make your own wallpaper folders that
			anyone can download.</p>
			<br>

			<h2>Format</h2>
			<p>The scenic format is simple. Just have a folder (name doesn't matter)
			that contains all of the images you intend on using, along with a file
			named 'wallpaper.conf'. The recommended image format is jpg for quick
			loading, but it probably won't make a big difference. They should
			be 480x854 px.</p>

			<p>Let's say you have three jpg images named one.jpg, two.jpg and three.jpg.
			Let's say you want one.jpg to be shown from 12:00am to 6:00am, two.jpg to
			be shown from 6:00am to 6:00pm, and three.jpg to be shown for the rest
			of the day. This is how your wallpaper.conf file will look:</p>

			<pre>
			00=one.jpg
			06=two.jpg
			18=three.jpg
			</pre>

			<p>Thats the entire file! Note that it uses military time, and
			there are no spaces. Scenic checks every ten minutes to update the wallpaper so
			wallpapers may not change exactly at the top of the hour. Obviously, you
			can have up to 24 images, one for every hour of the day.</p>

			<p>The end result is a folder that contains images and a wallpaper.conf file</p>

			<br>
			<h2>Usage</h2>
			<p>After you have downloaded the folder onto your phone, you need to
			tell Scenic where to find it. On the settings screen, enter the path
			to the folder into the 'Folder' field. If you used the browser to download
			the folder, then the path may look like

			<pre>
			/home/user/MyDocs/Downloads/folder
			</pre>

			Notice the path ends at the folder, NOT the wallpaper.conf file.
			The next time Scenic updates the wallpaper it will use your new images.
			Scenic keeps this information in /home/user/.config/scenic/scenic.conf.
			</p>

			<h2>Updating</h2>
			<p>Every ten minutes Scenic will update the background image according
			to a wallpaper.conf file. This job is not CPU intensive and will
			not effect performance or battery life.</p>

			<p>In Random mode, Scenic will chose a random image from the folder
			listed in your settings. In Random mode, any number of images can
			be used and the wallpaper.conf file is ignored. </p>

			"

		}

	}
}
